package com.coding.easy24home.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hao.zhang
 * @since 2022-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 产品id
     */
    @TableId(value = "product_id", type = IdType.AUTO)
    private Integer productId;

    /**
     * 产品类别
     */
    private String type;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 产品价格
     */
    private Integer price;

    /**
     * 产品描述
     */
    private String description;

    /**
     * Y:在售，N:下架
     */
    private String state;


}
